do a sum by proportion

按比例计算